﻿delete from PulsatrixDb.dbo.AnnualSetSubject;

insert into PulsatrixDb.dbo.AnnualSetSubject (ID, AnnualSetId, SubjectId, IsCoreSubject)
select SpecialitySubjectId, SpecialityId, SubjectId, IsProfile
from PulsatrixStagingDb.dbo.VstupDb_SpecialitySubject;